package text;


import mavenstudy.FlightImpl;
import mavenstudy.api.IFlight;
import mavenstudy.dto.Flight;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * ProjectName：mavenstudy
 * ClassName：FlightImplTest
 *
 * @author：hldiao
 * @date：16:38 2018/7/2
 */
public class FlightImplTest {
    public static void main(String[] args) throws Exception {
        IFlight flight = new FlightImpl();
        List<Flight> flightList = flight.queryFlightByCabin("CKG", "PEK");
        for (Flight ft : flightList) {
            System.out.println(ft);
        }
        Map<String, String> map = new HashMap();
        for (Map.Entry<String, String> set : map.entrySet()) {
        }
    }
}